#include "Common.h"
#include "WindowsMessage.h"
#include "InputManager.h"
#include "Root.h"
#include <Windowsx.h>

LRESULT WINAPI WindowsMessage::MsgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
	if (InputManager::Exist() && InputManager::Instance().MsgProc(hWnd, msg, wParam, lParam))
		return S_OK;

    return DefWindowProc(hWnd, msg, wParam, lParam);
}